package com.ehome.poct.core.api.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author muqiu
 * @date 2022/07/04
 */
@Data
public class PriceProfitVO {
    @ApiModelProperty("价格方案ID ")
    private Long testStripPriceProfitSchemeId;
    @ApiModelProperty("分佣方案名称")
    private String priceProfitSchemeName;
    @ApiModelProperty("使用省总")
    private Integer provinceNums;
    @ApiModelProperty("使用地总")
    private Integer cityNums;
    @ApiModelProperty("使用业务员")
    private Integer agentNums;
    @ApiModelProperty("使用诊所")
    private Integer clinicNums;
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty("方案状态 0:启用 1:禁用")
    private Integer status;
    @ApiModelProperty("方案状态文案")
    private String statusStr;

    public void setStatus(Integer status) {
        this.status = status;
        this.statusStr = status == 0 ? "启用" : "禁用";
    }
}
